<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template basic_native_environment</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../process.html#doxygen.environment_8hpp" title="Header &lt;boost/process/v1/environment.hpp&gt;">
<link rel="prev" href="structboost_1_1process_1_1v1_1_1basic__environment_1_1entry__type.html" title="Struct template entry_type">
<link rel="next" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html" title="Struct template const_entry_type">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1process_1_1v1_1_1basic__environment_1_1entry__type.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../process.html#doxygen.environment_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template basic_native_environment</span></h2>
<p>boost::process::v1::basic_native_environment — Definition of the environment for the current process. </p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../mpi/reference.html#doxygen.environment_8hpp" title="Header &lt;boost/mpi/environment.hpp&gt;">boost/process/v1/environment.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Char<span class="special">&gt;</span> 
<span class="keyword">class</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html" title="Class template basic_native_environment">basic_native_environment</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">Char</span> <span class="special">&gt;</span>                               <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a3c8ffa8a2902489fd4151cec842af698"></a><span class="identifier">string_type</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">transform_iterator</span><span class="special">&lt;</span> <span class="identifier">entry_maker</span><span class="special">,</span> <span class="identifier">Char</span> <span class="special">*</span><span class="special">*</span> <span class="special">&gt;</span>       <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a5fa2f9ee6026dfd35ddc899df9c78bbd"></a><span class="identifier">iterator</span><span class="special">;</span>      
  <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">transform_iterator</span><span class="special">&lt;</span> <span class="identifier">const_entry_maker</span><span class="special">,</span> <span class="identifier">Char</span> <span class="special">*</span><span class="special">*</span> <span class="special">&gt;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a1abd9910a0f94b9a813db64e6762c39f"></a><span class="identifier">const_iterator</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span>                                             <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1aa3c916d1c85dc35fcdad92f298cb3e63"></a><span class="identifier">size_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span>                                             <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1ae38120ac4a5776f17eca40e8d6c8d84b"></a><span class="identifier">native_handle</span><span class="special">;</span> 
  <span class="keyword">typedef</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span>                                             <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1af3e82828157d1343edef844d2127bb53"></a><span class="identifier">base_type</span><span class="special">;</span>     

  <span class="comment">// member classes/structs/unions</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Char<span class="special">,</span> <span class="keyword">typename</span> Environment<span class="special">&gt;</span> 
  <span class="keyword">struct</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html" title="Struct template const_entry_type">const_entry_type</a> <span class="special">{</span>
    <span class="comment">// types</span>
    <span class="keyword">typedef</span> <span class="identifier">Char</span>                             <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type_1a1625d98cee7043ea11a3f2f001a5fa4c"><span class="identifier">value_type</span></a><span class="special">;</span>   
    <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span>               <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type_1a1f90c3db4b76f710e79b0208f13a3148"><span class="identifier">pointer</span></a><span class="special">;</span>      
    <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">value_type</span> <span class="special">&gt;</span>  <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type_1a6a050404483f76582f262794d0534f7c"><span class="identifier">string_type</span></a><span class="special">;</span>  
    <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="identifier">pointer</span> <span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type_1a4cdb61d9c52fc18b4252e3b2eea76fd8"><span class="identifier">range</span></a><span class="special">;</span>        
    <span class="keyword">typedef</span> <span class="identifier">Environment</span>                      <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type_1aadf86e75349a49739d53d5a8478250fb"><span class="identifier">environment_t</span></a><span class="special">;</span>

    <span class="comment">// <a class="link" href="boost_container_header_reference/classboost_1_1container_1_1private__adaptive__pool.html#id6-bb">public member functions</a></span>
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type_1aaa96b29d01c09b4354415564d720a76f"><span class="identifier">to_vector</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
     <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type_1ac5d2d48f6428e2aa01e5c2ce683357c7"><span class="identifier">const_entry</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">const_entry</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
    <span class="identifier">const_entry</span> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type_1ac4444278e764fc4f366f0118aa06c82c"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">const_entry</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
    <span class="keyword">bool</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type_1a1aff05b31c2be14ea62ad8ceda79e819"><span class="identifier">empty</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="special">}</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Char<span class="special">,</span> <span class="keyword">typename</span> Environment<span class="special">&gt;</span> 
  <span class="keyword">struct</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html" title="Struct template entry_type">entry_type</a> <span class="special">{</span>
    <span class="comment">// types</span>
    <span class="keyword">typedef</span> <span class="identifier">Char</span>                             <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1ada5d18ab7d072661492d84d6c3ebd3c1"><span class="identifier">value_type</span></a><span class="special">;</span>   
    <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span>               <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1a15da19e61a8b8143d85ae56828379ec6"><span class="identifier">pointer</span></a><span class="special">;</span>      
    <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">value_type</span> <span class="special">&gt;</span>  <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1ad62ff8df719e0751c396c4ba0fa11c8b"><span class="identifier">string_type</span></a><span class="special">;</span>  
    <span class="keyword">typedef</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="identifier">pointer</span> <span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1a6d4d93092f39a8d2ab66ea4150be36a5"><span class="identifier">range</span></a><span class="special">;</span>        
    <span class="keyword">typedef</span> <span class="identifier">Environment</span>                      <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1a9ed460f36f27b7f18a8914e0876208d5"><span class="identifier">environment_t</span></a><span class="special">;</span>

    <span class="comment">// <a class="link" href="boost_container_header_reference/classboost_1_1container_1_1private__adaptive__pool.html#id7-bb">public member functions</a></span>
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1ad5560d0f8551f4e6fec8be5b16bf6c69"><span class="identifier">to_vector</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
     <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1ae5e11b7281ee8b6033f5ea3f6aa70be0"><span class="identifier">entry</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">entry</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
    <span class="identifier">entry</span> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1abaf757617acc2667b0d2b49f9e526901"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">entry</span> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
    <span class="keyword">bool</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1aca4bfaba4f44f54f9c0f80a782748ce9"><span class="identifier">empty</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
    <span class="keyword">void</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1a4572eefc60f6dc76881c8e6f09526a2e"><span class="identifier">assign</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">void</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1a06497deba6ab1a93a9f9cadc191d5667"><span class="identifier">assign</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">void</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1a848782a0c7c9c2742e0bf3c79b950fdc"><span class="identifier">append</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">void</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1ae816a691638a13a85ed199bfb1e66a31"><span class="identifier">clear</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
    <span class="identifier">entry</span> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1aaf69af2aeb7e0d1c9180fb177badc110"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="identifier">entry</span> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1ada63f6967128a6f913be343974e73b11"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">vector</span><span class="special">&lt;</span> <span class="identifier">string_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="identifier">entry</span> <span class="special">&amp;</span> <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html#doxygen.structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type_1accc6ef343e15295bda0859dee28f67f3"><span class="keyword">operator</span><span class="special">+=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="boost_container_header_reference/classboost_1_1container_1_1allocator.html#id8-bb">public member functions</a></span>
  <span class="identifier">iterator</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a966cacd4313e3d12352256b69ddc161c"><span class="identifier">begin</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a6f03c7e0658d9c497d35e5dc9647d5f6"><span class="identifier">begin</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1adcc1b819e25313c1a47d86bccb25740f"><span class="identifier">cbegin</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">iterator</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a1a71dad27ce8ecc72424315902f1db57"><span class="identifier">end</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a7f758407caedbfe41a50850b64fba63f"><span class="identifier">end</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a168eda0c6eec2d02d032cbb9c672f3c5"><span class="identifier">cend</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">iterator</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1aad89c264c1507b2ad8d20cbe4baaf6d3"><span class="identifier">find</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">const_iterator</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a957b67672d350e78d4ef7ca1f40f4b98"><span class="identifier">find</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1abf8caacca40a058d5061aee7b3f90fe7"><span class="identifier">count</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1af2fbd8de407e5250e752016951468cbf"><span class="identifier">erase</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special">&lt;</span> <span class="identifier">iterator</span><span class="special">,</span> <span class="keyword">bool</span> <span class="special">&gt;</span> 
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a510e6da302f00a0883c69a7c297bbcb8"><span class="identifier">emplace</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a7ee03448c003a35fdb4fe19f69b3a585"><span class="identifier">basic_native_environment</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1aab86bce7c9766a0c96efb037dc7d548c"><span class="identifier">basic_native_environment</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html" title="Class template basic_native_environment">basic_native_environment</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html" title="Class template basic_native_environment">basic_native_environment</a> <span class="special">&amp;</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1abf6259f408938a5dc507cd8136621f80"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html" title="Class template basic_native_environment">basic_native_environment</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1abc7fbc7fef476c29ddf4d55baed9051f"><span class="identifier">empty</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1af33e8f9dcc5b05b49a21cef2ddab2c1b"><span class="identifier">size</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html" title="Struct template entry_type">entry_type</a> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a12cfb5fda6cd4267bf5ac56dc9609e9e"><span class="identifier">at</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html" title="Struct template const_entry_type">const_entry_type</a> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a214f6764fecefa4c4f8ddaefa1614eb2"><span class="identifier">at</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html" title="Struct template entry_type">entry_type</a> <a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html#doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1ac24efdc8f7f39c3f94fe6ad2c0c7a516"><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.30.4.8.9.4.4"></a><h2>Description</h2>
<p>Template representation of the environment of this process. It takes a template as template parameter to implement the environment. All instances of this class refer to the same environment, but might not get updated if another one makes changes. </p>
<div class="refsect2">
<a name="id-1.3.30.4.8.9.4.4.3"></a><h3>
<a name="id8-bb"></a><code class="computeroutput">basic_native_environment</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="identifier">iterator</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a966cacd4313e3d12352256b69ddc161c"></a><span class="identifier">begin</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Returns an iterator to the beginning. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">const_iterator</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a6f03c7e0658d9c497d35e5dc9647d5f6"></a><span class="identifier">begin</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns an iterator to the beginning. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">const_iterator</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1adcc1b819e25313c1a47d86bccb25740f"></a><span class="identifier">cbegin</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns an iterator to the beginning. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">iterator</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a1a71dad27ce8ecc72424315902f1db57"></a><span class="identifier">end</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Returns an iterator to the end. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">const_iterator</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a7f758407caedbfe41a50850b64fba63f"></a><span class="identifier">end</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns an iterator to the end. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">const_iterator</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a168eda0c6eec2d02d032cbb9c672f3c5"></a><span class="identifier">cend</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns an iterator to the end. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">iterator</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1aad89c264c1507b2ad8d20cbe4baaf6d3"></a><span class="identifier">find</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> key<span class="special">)</span><span class="special">;</span></pre>Find a variable by its name. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">const_iterator</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a957b67672d350e78d4ef7ca1f40f4b98"></a><span class="identifier">find</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> key<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Find a variable by its name. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1abf8caacca40a058d5061aee7b3f90fe7"></a><span class="identifier">count</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> st<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Number of variables. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1af2fbd8de407e5250e752016951468cbf"></a><span class="identifier">erase</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> id<span class="special">)</span><span class="special">;</span></pre>
<p>Erase variable by id. </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span><span class="special">&lt;</span> <span class="identifier">iterator</span><span class="special">,</span> <span class="keyword">bool</span> <span class="special">&gt;</span> 
<a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a510e6da302f00a0883c69a7c297bbcb8"></a><span class="identifier">emplace</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> id<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> value<span class="special">)</span><span class="special">;</span></pre>Emplace an environment variable. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a7ee03448c003a35fdb4fe19f69b3a585"></a><span class="identifier">basic_native_environment</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Default constructor. </li>
<li class="listitem">
<pre class="literallayout"><a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1aab86bce7c9766a0c96efb037dc7d548c"></a><span class="identifier">basic_native_environment</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html" title="Class template basic_native_environment">basic_native_environment</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span></pre>Move constructor. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html" title="Class template basic_native_environment">basic_native_environment</a> <span class="special">&amp;</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1abf6259f408938a5dc507cd8136621f80"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="classboost_1_1process_1_1v1_1_1basic__native__environment.html" title="Class template basic_native_environment">basic_native_environment</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span></pre>Move assignment. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">bool</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1abc7fbc7fef476c29ddf4d55baed9051f"></a><span class="identifier">empty</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Check if environment has entries. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1af33e8f9dcc5b05b49a21cef2ddab2c1b"></a><span class="identifier">size</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Get the number of variables. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html" title="Struct template entry_type">entry_type</a> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a12cfb5fda6cd4267bf5ac56dc9609e9e"></a><span class="identifier">at</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> key<span class="special">)</span><span class="special">;</span></pre>Get the entry with the key. Throws if it does not exist. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html" title="Struct template const_entry_type">const_entry_type</a> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1a214f6764fecefa4c4f8ddaefa1614eb2"></a><span class="identifier">at</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> key<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Get the entry with the key. Throws if it does not exist. </li>
<li class="listitem">
<pre class="literallayout"><a class="link" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1entry__type.html" title="Struct template entry_type">entry_type</a> <a name="doxygen.classboost_1_1process_1_1v1_1_1basic__native__environment_1ac24efdc8f7f39c3f94fe6ad2c0c7a516"></a><span class="keyword">operator</span><span class="special">[</span><span class="special">]</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> key<span class="special">)</span><span class="special">;</span></pre>Get the entry with the given key. It creates the entry if it doesn't exist. </li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2006-2012 Julio M. Merino Vidal, Ilya Sokolov,
      Felipe Tanus, Jeff Flinn, Boris Schaeling<br>Copyright © 2016 Klemens D. Morgenstern<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1process_1_1v1_1_1basic__environment_1_1entry__type.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../process.html#doxygen.environment_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1process_1_1v1_1_1basic__native__environment_1_1const__entry__type.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
